package com.ibeeking.found.file.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author MAC
 * @version 1.0
 * @description: TODO
 * @date 2022/1/1 19:06
 */
@Data
@TableName("picture_file")
public class PictureFileDO implements Serializable {
    private static final long serialVersionUID = -1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long pictureFileId;

    /**
     * 文件url
     */
    @TableField(value = "file_url")
    private String fileUrl;

    /**
     * 文件大小
     */
    @TableField(value = "file_size")
    private Long fileSize;

    /**
     * 存储类型
     */
    @TableField(value = "storage_type")
    private Integer storageType;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 文件名
     */
    @TableField(value = "file_name")
    private String fileName;

    /**
     * 扩展名
     */
    @TableField(value = "extend_name")
    private String extendName;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private String createTime;

    /**
     * 创建用户id
     */
    @TableField(value = "create_by")
    private Long createBy;

    /**
     * 修改时间
     */
    @TableField(value = "modify_time")
    private String modifyTime;

    /**
     * 修改用户id
     */
    @TableField(value = "modify_by")
    private Long modifyBy;

}
